<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"> 
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <link rel="stylesheet" href="./css/add.css">
    <title>添加学生信息</title>
</head>
<body>
   <div class='addform'>
    <form action="http://127.0.0.1:3000/add" method="POST">
        <legend>学生档案</legend>
        <label >
            姓名: <input name="name" type="text" class="normal" autofocus placeholder="请输入姓名" >
        </label>
        <label >
            年龄: <input name="age" type="text" class="normal" autofocus placeholder="请输入年龄" >
        </label>
        <label >
            性别: 
            <input type="radio" name='gender' value='0'>男
            <input type="radio"  name='gender' value='1'>女
        </label>
        <label >
            邮箱地址: 
            <input type="text" name="email" class="normal" autofocus placeholder="请输入邮箱" >
        </label>
        <label >
            爱好:
            <input type="checkbox" name='hobbies' value=0> 敲代码
            <input type="checkbox" name='hobbies' value=1> 打篮球
            <input type="checkbox" name='hobbies' value=2> 睡觉
        </label>
        <label>
            所属学院:
            <select class='normal' name="scholl">
                <option value="前端开发">前端开发</option>
                <option value="Java">Java</option>
                <option value="UI">UI</option>
                <option value="PHP">PHP</option>
            </select>
        </label>
        <label>
            入学时间:
            <input type="date" calss="normal" name="enterDate">
        </label>
        <label >
            <input type="submit" calss="normal" value="提交信息">
        </label>
    </form>
   </div>

</body>
</html>